package com.hh.service.service.merchant;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hh.common.model.merchant.MerchantRole;
import com.hh.common.request.PageParamRequest;
import com.hh.common.request.SystemRoleRequest;
import com.hh.common.request.SystemRoleSearchRequest;
import com.hh.common.response.RoleInfoResponse;

import java.util.List;

public interface MerchantRoleService extends IService<MerchantRole> {
    List<MerchantRole> getAllList();

    List<MerchantRole> getList(SystemRoleSearchRequest request, PageParamRequest pageParamRequest);

    Boolean add(SystemRoleRequest systemRoleRequest);

    Boolean delete(Integer id);

    Boolean edit(SystemRoleRequest systemRoleRequest);

    RoleInfoResponse getInfo(Integer id);

    Boolean updateStatus(Integer id, Boolean status);

    List<MerchantRole> getRolesListByIds(List<Integer> rolesList);
}
